package cn.iocoder.yudao.position.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "管理后台 - 行业类别树形节点 Response VO")
public class PositionCategoryTreeNodeVO {

    @Schema(description = "职位类别ID", required = true, example = "1")
    private Long categoryId;

    @Schema(description = "父类别ID(0表示一级类别)", required = true, example = "0")
    private Long parentId;

    @Schema(description = "类别名称", required = true, example = "互联网")
    private String categoryName;

    @Schema(description = "类别编码", required = true, example = "IT")
    private String categoryCode;

    @Schema(description = "层级(1-一级 2-二级 3-三级)", required = true, example = "1")
    private Integer level;

    @Schema(description = "显示顺序", required = true, example = "1")
    private Integer orderNum;

    @Schema(description = "状态(0正常 1停用)", required = true, example = "0")
    private String status;

    @Schema(description = "子类别列表")
    private List<PositionCategoryTreeNodeVO> children;
}
